package com.ruoyi.yanjing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学习记录对象 c5_safety_document_learning_record
 * 
 * @author whz
 * @date 2024-12-04
 */
public class SafetyDocumentLearningRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 人员ID */
    @Excel(name = "人员ID")
    private Long personId;

    /** 人员名称 */
    @Excel(name = "人员名称")
    private String personName;

    /** 安全文件ID */
    @Excel(name = "安全文件ID")
    private Long documentId;

    /** 安全文件名称 */
    @Excel(name = "安全文件名称")
    private String documentName;

    /** 培训id */
    @Excel(name = "培训id")
    private Long trainingId;

    /** 培训名称 */
    @Excel(name = "培训名称")
    private String trainingName;

    /** 开始学习时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始学习时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束学习时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束学习时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 学习时长（分钟） */
    @Excel(name = "学习时长", readConverterExp = "分=钟")
    private Long learningDuration;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String safetyDocumentLearningRecordExtra1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String safetyDocumentLearningRecordExtra2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String safetyDocumentLearningRecordExtra3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String safetyDocumentLearningRecordExtra4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String safetyDocumentLearningRecordExtra5;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updateName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String accountId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }
    public void setPersonName(String personName) 
    {
        this.personName = personName;
    }

    public String getPersonName() 
    {
        return personName;
    }
    public void setDocumentId(Long documentId) 
    {
        this.documentId = documentId;
    }

    public Long getDocumentId() 
    {
        return documentId;
    }
    public void setDocumentName(String documentName) 
    {
        this.documentName = documentName;
    }

    public String getDocumentName() 
    {
        return documentName;
    }
    public void setTrainingId(Long trainingId) 
    {
        this.trainingId = trainingId;
    }

    public Long getTrainingId() 
    {
        return trainingId;
    }
    public void setTrainingName(String trainingName) 
    {
        this.trainingName = trainingName;
    }

    public String getTrainingName() 
    {
        return trainingName;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setLearningDuration(Long learningDuration) 
    {
        this.learningDuration = learningDuration;
    }

    public Long getLearningDuration() 
    {
        return learningDuration;
    }
    public void setSafetyDocumentLearningRecordExtra1(String safetyDocumentLearningRecordExtra1) 
    {
        this.safetyDocumentLearningRecordExtra1 = safetyDocumentLearningRecordExtra1;
    }

    public String getSafetyDocumentLearningRecordExtra1() 
    {
        return safetyDocumentLearningRecordExtra1;
    }
    public void setSafetyDocumentLearningRecordExtra2(String safetyDocumentLearningRecordExtra2) 
    {
        this.safetyDocumentLearningRecordExtra2 = safetyDocumentLearningRecordExtra2;
    }

    public String getSafetyDocumentLearningRecordExtra2() 
    {
        return safetyDocumentLearningRecordExtra2;
    }
    public void setSafetyDocumentLearningRecordExtra3(String safetyDocumentLearningRecordExtra3) 
    {
        this.safetyDocumentLearningRecordExtra3 = safetyDocumentLearningRecordExtra3;
    }

    public String getSafetyDocumentLearningRecordExtra3() 
    {
        return safetyDocumentLearningRecordExtra3;
    }
    public void setSafetyDocumentLearningRecordExtra4(String safetyDocumentLearningRecordExtra4) 
    {
        this.safetyDocumentLearningRecordExtra4 = safetyDocumentLearningRecordExtra4;
    }

    public String getSafetyDocumentLearningRecordExtra4() 
    {
        return safetyDocumentLearningRecordExtra4;
    }
    public void setSafetyDocumentLearningRecordExtra5(String safetyDocumentLearningRecordExtra5) 
    {
        this.safetyDocumentLearningRecordExtra5 = safetyDocumentLearningRecordExtra5;
    }

    public String getSafetyDocumentLearningRecordExtra5() 
    {
        return safetyDocumentLearningRecordExtra5;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setAccountId(String accountId) 
    {
        this.accountId = accountId;
    }

    public String getAccountId() 
    {
        return accountId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("personId", getPersonId())
            .append("personName", getPersonName())
            .append("documentId", getDocumentId())
            .append("documentName", getDocumentName())
            .append("trainingId", getTrainingId())
            .append("trainingName", getTrainingName())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("learningDuration", getLearningDuration())
            .append("safetyDocumentLearningRecordExtra1", getSafetyDocumentLearningRecordExtra1())
            .append("safetyDocumentLearningRecordExtra2", getSafetyDocumentLearningRecordExtra2())
            .append("safetyDocumentLearningRecordExtra3", getSafetyDocumentLearningRecordExtra3())
            .append("safetyDocumentLearningRecordExtra4", getSafetyDocumentLearningRecordExtra4())
            .append("safetyDocumentLearningRecordExtra5", getSafetyDocumentLearningRecordExtra5())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("accountId", getAccountId())
            .toString();
    }
}
